﻿using System;
using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Sys
{
    /// <summary>
    /// 菜单树
    /// </summary>
    public class VMenu
    {
        public Guid MenuId { get; set; }
        public string Name { get; set; }
        public string Component { get; set; }
        public Guid ParentId { get; set; }
        public int Level { get; set; }
        public string ParentName { get; set; }
        public int Sort { get; set; }
        public string Url { get; set; }

        /// <summary>
        /// 底部的菜单
        /// </summary>
        public List<VMenu> Menus { get; set; }

        /// <summary>
        /// 菜单功能项
        /// </summary>
        public List<VMenuFuncs> MenuFuncs { get; set; }
    }

    /// <summary>
    /// 菜单功能项
    /// </summary>
    public class VMenuFuncs
    {
        public Guid MenuId { get; set; }
        public Guid MenuFuncId { get; set; }
        public string FuncName { get; set; }
        public string Description { get; set; }
        public string Component { get; set; }
        public Guid AppId { get; set; }
        public string Apis { get; set; }
    }
}